package com.wdd.owntool

import com.wdd.libbase.base.BaseApplication

import com.wdd.owntool.di.DaggerAppModuleComponent
import dagger.android.AndroidInjector
import dagger.android.DaggerApplication

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.owntool
 * @ClassName:      MainApplication
 * @Description:     java类作用描述
 * @Author:         王丹丹
 * @CreateDate:     2019/12/2 11:45
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/2 11:45
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */

class MainApplication : BaseApplication() {


    override fun applicationInjector(): AndroidInjector<out DaggerApplication?>? {
        return DaggerAppModuleComponent.builder().application(this)!!.build()
    }
}